inet_frag: Limit ABI change in 4.9.51
authorBen Hutchings <ben@decadent.org.uk>
Mon, 25 Sep 2017 23:03:33 +0000 (00:03 +0100)
committerYves-Alexis Perez <corsac@debian.org>
Fri, 9 Feb 2018 12:58:52 +0000 (12:58 +0000)
commiteea7c70db97163f04e383ab6e9db5197c2c8a932
tree19f4321835bbf93dcf6a44ce547cbe175b5f7cb8
parentf8c1737391e4a29408bdd62818d56e4cee421bab
inet_frag: Limit ABI change in 4.9.51

Commit fb452a1aa3fd 'Revert "net: use lib/percpu_counter API for
fragmentation mem accounting"' changed the type of inet_frag::mem
from struct percpu_counter to atomic_t.  There are few modules
that actually depend on this, but struct inet_frag is embedded in
various other structures that end up affecting symbol versions
for a huge number of networking APIs.

So add padding to keep the structure size unchanged, hide the type
change from genksyms, and rename a key inet_frag function so that
those modules that actually depend on the type of inet_frag::mem do
see an ABI change.

Gbp-Pq: Topic debian
Gbp-Pq: Name inet_frag-limit-abi-change-in-4.9.51.patch
include/net/inet_frag.h